package com.fesine.ch02.setNoeStringTwoLock;

/**
 * @description: 类描述
 * @author: Fesine
 * @createTime:2016/7/8 15:30
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/7/8 15:30
 */
public class Run2 {
    public static void main(String[] args) throws InterruptedException {
        MyService service = new MyService();
        ThreadA a = new ThreadA(service);
        a.setName("A");
        a.start();
        ThreadB b = new ThreadB(service);
        b.setName("B");
        //Thread.sleep(50);
        b.start();
    }
}
